package cn.onlineclass.entity;

import java.util.Date;

public class OUnit {
    private Long id;

    private String name;

    private String description;

    private Long level;

    private Boolean inuse;

    private Date createtime;

    private Date modifytime;

    private Integer majorid;

    public OUnit() {
    }

    public OUnit(String name, String description, Long level, Boolean inuse, Date createtime, Date modifytime, Integer majorid) {
        this.name = name;
        this.description = description;
        this.level = level;
        this.inuse = inuse;
        this.createtime = createtime;
        this.modifytime = modifytime;
        this.majorid = majorid;
    }

    public OUnit(Long id, String name, String description, Long level, Boolean inuse, Integer majorid) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.level = level;
        this.inuse = inuse;
        this.majorid = majorid;
    }

    public OUnit(String name, String description, Long level, Boolean inuse, Integer majorid) {
        this.name = name;
        this.description = description;
        this.level = level;
        this.inuse = inuse;
        this.majorid = majorid;
    }



    public OUnit(Long id, String name, String description, Long level, Boolean inuse, Date createtime, Date modifytime, Integer majorid) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.level = level;
        this.inuse = inuse;
        this.createtime = createtime;
        this.modifytime = modifytime;
        this.majorid = majorid;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Long getLevel() {
        return level;
    }

    public void setLevel(Long level) {
        this.level = level;
    }

    public Boolean getInuse() {
        return inuse;
    }

    public void setInuse(Boolean inuse) {
        this.inuse = inuse;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getModifytime() {
        return modifytime;
    }

    public void setModifytime(Date modifytime) {
        this.modifytime = modifytime;
    }

    public Integer getMajorid() {
        return majorid;
    }

    public void setMajorid(Integer majorid) {
        this.majorid = majorid;
    }
}